package com.sky.service;


import com.sky.dto.*;
import com.sky.entity.Orders;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
	OrderSubmitVO  submit(OrdersSubmitDTO ordersSubmitDTO);

	OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO)throws Exception;;

	void paySuccess(String outTradeNo);

	PageResult historyList(Integer pageSize, Integer page ,Integer status);

	OrderVO orderDetail(Long id);

	void repetition(Long id);

	void cancel(Long id) throws Exception;

	void reminder(Long id);

	PageResult conditionSearch(OrdersPageQueryDTO ordersPageQueryDTO);

	OrderStatisticsVO statistics();

	void confirm(OrdersDTO ordersDTO);

	void delivery(Long id);

	void complete(Long id);

	void rejection(OrdersRejectionDTO ordersRejectionDTO);

	void adminCancel(Orders orders);
}
